package com.twu.biblioteca;

/**
 * Created by jjwang on 4/17/14.
 */
public class Book {
    String name;
    boolean available;
    User loaner;

    public Book(String name) {
        this.name = name;
        this.available = true;
    }

    public boolean isAvailable() {
        return available;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }

    public User getLoaner() {
        return loaner;
    }

    public void setLoaner(User loaner) {
        this.loaner = loaner;
    }

    public String getName() {
        return name;
    }
}
